In a network it is interesting to know the different number of flows that traverse a switch or link or the number of connections coming from a specific sub-network. This is generally known as cardinality estimation or count distinct. The HyperLogLog (HLL) algorithm is widely used to estimate cardinality with a small memory footprint and simple per packet operations. However, with current line rates approaching a Terabit per second and switches handling many Terabits per second, even implementing HLL is challenging. This is mostly due to a bottleneck in accessing the memory as a random position has to be accessed for each packet. In this letter, we present and evaluate Fast Update HLL (FU-HLL), a scheme that eliminates the need to access the memory for most packets. Results show that FU-HLL can indeed significantly reduce the number of memory accesses when the cardinality is much larger than the number of registers used in HLL as it is commonly the case in practical settings.

Fast Updates for Line-Rate {HyperLogLog} based Cardinality Estimation / Reviriego, Pedro; Bruschi, Valerio; Pontarelli, Salvatore; Ting, Daniel; Bianchi, Giuseppe. - In: IEEE COMMUNICATIONS LETTERS. - ISSN 1089-7798. - (2020), pp. 1-1. [10.1109/lcomm.2020.3018336]

Fast Updates for Line-Rate {HyperLogLog} based Cardinality Estimation

Salvatore Pontarelli;
2020

Abstract

In a network it is interesting to know the different number of flows that traverse a switch or link or the number of connections coming from a specific sub-network. This is generally known as cardinality estimation or count distinct. The HyperLogLog (HLL) algorithm is widely used to estimate cardinality with a small memory footprint and simple per packet operations. However, with current line rates approaching a Terabit per second and switches handling many Terabits per second, even implementing HLL is challenging. This is mostly due to a bottleneck in accessing the memory as a random position has to be accessed for each packet. In this letter, we present and evaluate Fast Update HLL (FU-HLL), a scheme that eliminates the need to access the memory for most packets. Results show that FU-HLL can indeed significantly reduce the number of memory accesses when the cardinality is much larger than the number of registers used in HLL as it is commonly the case in practical settings.
2020
Network monitoring , high speed networks , cardinality , hyperloglog
01 Pubblicazione su rivista::01a Articolo in rivista
Fast Updates for Line-Rate {HyperLogLog} based Cardinality Estimation / Reviriego, Pedro; Bruschi, Valerio; Pontarelli, Salvatore; Ting, Daniel; Bianchi, Giuseppe. - In: IEEE COMMUNICATIONS LETTERS. - ISSN 1089-7798. - (2020), pp. 1-1. [10.1109/lcomm.2020.3018336]
File allegati a questo prodotto
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11573/1528411
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 2
  • ???jsp.display-item.citation.isi??? 2
social impact